Skip to content

Add an I/O connector overview to the documentation - #619

Merged
urrsk merged 5 commits into
UniversalRobots:masterfrom
urrsk:tool_connector_docs
Nov 6, 2026
Merged

urrsk merged 5 commits into
UniversalRobots:masterfrom
urrsk:tool_connector_docs

Conversation

@urrsk

@urrsk urrsk commented Nov 6, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings November 6, 2026 09:32
@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.89%. Comparing base (e1425ce) to head (66ac127).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #619      +/-   ##
==========================================
- Coverage   83.98%   83.89%   -0.10%     
==========================================
  Files         127      127              
  Lines        8417     8425       +8     
  Branches     3829     3829              
==========================================
- Hits         7069     7068       -1     
- Misses        945      951       +6     
- Partials      403      406       +3     
Flag Coverage Δ
python_scripts 49.69% <ø> (ø)
start_ursim 92.42% <ø> (-1.40%) ⬇️
unit 61.60% <ø> (ø)
ur20-latest 81.07% <ø> (-0.03%) ⬇️
ur5-3.14.3 80.83% <ø> (+0.02%) ⬆️
ur5e-10.11.0 76.65% <ø> (+0.01%) ⬆️
ur5e-10.12.0 77.67% <ø> (ø)
ur5e-10.7.0 76.07% <ø> (-0.13%) ⬇️
ur5e-5.9.4 81.06% <ø> (ø)
ur7e-10.13.0 78.14% <ø> (-0.07%) ⬇️
ur7e-10.14.0 78.46% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation omits UNKNOWN and hardware-detection availability conditions, potentially causing users on supported RTDE protocol 1/2 connections to mistake normal results for connection failures.

1 open issue
What changed in this PR

Adds an I/O connector reference that maps robot hardware connections to the library functions used to control them.

Changes:

  • Documents tool connectors, CB5 and CB7 control-box I/O, and relevant compatibility limits.
  • Adds the overview to the documentation navigation.
  • Links the script-command documentation to the connector reference.
File Description
doc/​io_connectors.rst Adds connector details and associated library APIs.
doc/​index.rst Includes the overview in the documentation navigation.
doc/​architecture/​script_command_interface.rst Adds a cross-reference explaining tool connectors T0 and T2.

Review effort: Balanced

Comment thread doc/io_connectors.rst Resolved
Copilot AI balanced review requested due to automatic review settings November 6, 2026 12:38
@urrsk
urrsk marked this pull request as ready for review November 6, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two headings in doc/io_connectors.rst have underlines that are too short, causing Sphinx warnings that fail documentation CI because warnings are treated as errors.

2 open issues
1 resolved since last review

Review effort: Balanced

Comment thread doc/io_connectors.rst Resolved
Comment thread doc/io_connectors.rst Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 6, 2026 13:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

A hardware-domain reviewer must validate the connector pin labels and Safe freedrive capabilities against the robot manuals, since repository code confirms only the API mappings.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

@urfeex urfeex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, this is a good start.

One small improvement could be to mention that all I/Os are readable through the client library's RTDEClient if subscribed to them.

@mergify

mergify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

Copilot AI balanced review requested due to automatic review settings November 6, 2026 14:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation incorrectly implies that RTDEWriter can control tool power outputs T0_V and T2_V; the RTDE statement should be limited to digital/analog I/O and explicitly exclude tool power.

1 open issue

Review effort: Balanced

Comment thread doc/io_connectors.rst Outdated
- The library reports the connected hardware as ``ControlBoxType`` (``CB5`` or ``CB7``) and
``ToolFlangeType`` (``V1`` or ``V2``), available from the ``PrimaryClient`` and the
``RTDEWriter``.
- All inputs and outputs can be read, and outputs can be written, through the :ref:`rtde_client`.
Copilot AI balanced review requested due to automatic review settings November 6, 2026 14:21
@urrsk
urrsk merged commit 7766977 into UniversalRobots:master Nov 6, 2026
23 of 33 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The documentation incorrectly directs users to RTDE for all outputs, although tool power outputs T0_V and T2_V are controlled through script commands or URScript.

1 open issue

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants